<?php
/**
 * Created by PhpStorm.
 * User: zq
 * Date: 2017/2/20
 * Time: 22:14
 */

namespace Admin\Controller;


use Think\Controller;

class CommonController extends Controller
{
   public function __construct()
   {
       parent::__construct();
       //判断是否登录
       if(!session('?uid')){
//           echo 123;
           $this->redirect('admin/Login/index');
       }
   }


}